package com.gx.service.api;


import com.alibaba.fastjson.JSONArray;
import com.gx.domain.SysMenu;
import com.gx.response.tree.BootstrapUiTreeNode;

import java.util.List;

public interface SysMenuService {
    int save(SysMenu sysMenu);

    List<SysMenu> queryAll();

    JSONArray getMenuJsonList();

    List<BootstrapUiTreeNode> getSelectMenuTree();

    List<BootstrapUiTreeNode> getCheckedMenuTree(Long roleId);

    List<SysMenu> getUserMenuList(String sysUserId);

    int update(SysMenu sysMenu);
}
